import {ref, defineComponent, getCurrentInstance} from "vue";
import {Delete, Edit, Refresh, Search, Share} from "@element-plus/icons-vue";
import queryReqVO from "../vo/queryReqVO.ts";
import Pagination from "../../component/pagination/views/pagination.vue";

export default defineComponent({
    name: 'supplementDataController',
    methods: {Search, Delete, Share, Edit},
    components: {Pagination, Search, Refresh},
    props: {},
    emits: [],
    setup(props, {emit}) {
        // 获取当前实例
        const {proxy, appContext} = getCurrentInstance()!;
        const queryFrom = ref(new queryReqVO());
        const total = ref(1);
        const pageSize = ref(10);
        const currentPage = ref(1);
        const totalResult = ref(1);
        const tableData = [{}

        ]

        return {
            tableData,
            queryFrom,
            total,
            pageSize,
            currentPage,
            totalResult,
        }
    },

})